
<ul id="sidebar">
  <li class="rlist1">
    <h3><span>搜索</span></h3>
    <div id="logsearch">
      <form name="keyform" method="post" action="/mcms/search.do">
        <input type="hidden" name="field" value="title">
        <input name="content_title" class="search" type="text" />
        <i class="fa fa-search" onClick="$('form').submit()"></i>
      </form>
    </div>
  </li>
  <li id="blogsort">
    <h3 class="mcolor"><i class="fa fa-folder-open-o"></i><span>分类导航</span></h3>
    <ul>
      {ms:channel type='nav' flag='n' size='10'}
      <li> <a href="<#if field.type==3>{ms:global.html/}${field.typeurl}<#else>{ms:global.html/}${field.typelink}</#if>">${field.typetitle}</a> </li>
      {/ms:channel}
    </ul>
  </li>
  <li class="rlist1">
    <h3><span>最新文章</span></h3>
    <ul id="newlog">
      {ms:arclist size=5 }
      <li><a href="{ms:global.html/}${field.link}" title="${field.title}">${field.title}</a></li>
      {/ms:arclist}
    </ul>
  </li>
  <li class="rlist1">
    <h3><span>热门文章</span></h3>
    <ul id="hotlog">
      {ms:arclist size=5 }
      <li><i <#if field.index<4>class='mcolor'</#if> >${field.index}</i><a href="{ms:global.html/}${field.link}">${field.title}</a></li>
      {/ms:arclist}
    </ul>
  </li>
  <li class="rlist1">
    <h3><span>随机文章</span></h3>
    <ul id="randlog">
      {ms:arclist size=5 }
      <li><a href="{ms:global.html/}${field.link}" title="${field.title}">${field.title}</a></li>
      {/ms:arclist}
    </ul>
  </li>
  <li class="rlist1">
    <h3><span>友情链接</span></h3>
    <ul class="link">
      <a href="https://www.baidu.com" target="_blank">百度 </a><a href="https://www.qq.com" target="_blank">腾讯网 </a><a href="https://www.sina.com.cn/" target="_blank">新浪网 </a>
    </ul>
  </li>
</ul>
